//
//  LEUserInfoCoreDataManager.h
//  qqqqqq
//
//  Created by iOSer on 2017/3/21.
//  Copyright © 2017年 iOSer. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@class LEUserInfoModel;
@interface LEUserInfoCoreDataManager : NSObject
@property(nonatomic,strong) NSManagedObjectContext *manageObjectContext;
@property(nonatomic,strong) NSManagedObjectModel *managedObjectModel;
@property(nonatomic,strong) NSPersistentStoreCoordinator *persistentStoreCoordinator;

+(instancetype)shareInstance;

-(void)saveContext:(LEUserInfoModel *)userinfoModel;
-(void)readContextWithtargetCallBack:(void (^)(LEUserInfoModel *userInfoModel))targetCallBack withDefeatedBlock:(void (^)())defeatedBlock;
@end
